package com.example.activity_service.service.impl;


import com.example.activity_service.dao.Msdao;
import com.example.activity_service.service.MsQueryService;
import com.example.activity_service.vo.StopWatch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsServicelmpl implements MsQueryService {
    @Autowired
    Msdao userdao;
    @Override
    public List<StopWatch> huoqusj() {
        return userdao.huoqusj();
    }

//    @Override
//    public String tjsj(String openingtime, String endtime) {
//        return userdao.tjsj(openingtime,endtime);
//    }

    @Override
    public int tjsj(StopWatch stopWatch) {
        return userdao.tjsj(stopWatch);
    }
}
